package interfacce;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.TreeSet;

import classi.Appello;
import classi.Studente;

public interface ExamsManager extends Remote {
	
	
	public void apriAppello(Appello appello)throws RemoteException;
	public void spostaAppello(Appello appello,TreeSet<Appello> listaSorgente, TreeSet<Appello> listaDestinazione)throws RemoteException;
	public boolean eliminaAppello(Appello appello, TreeSet<Appello> listaSelezionata)throws RemoteException;
	public void controllaAppelliScaduti() throws RemoteException;
	public boolean prenotaAppello(Appello appello , Studente studente) throws RemoteException;
	public RisolutoreEsame sostieniAppello(String nome, Appello appello,Studente s)throws RemoteException;
	public TreeSet<Appello> getAppelliAperti() throws RemoteException;
	public TreeSet<Appello> getAppelliScaduti() throws RemoteException;
	public TreeSet<Appello> getAppelliInCorso() throws RemoteException;
	public TreeSet<Appello> getAppelliTerminati() throws RemoteException;
	
	
	
	
	
	
	
	

}
